$pageColor: #ff8a00;

* {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100px;
}

body {
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    -ms-grid-layer: #f7f7f7;
}

header {
    width: 100vw;
    height: 0.6rem;
    display: flex;
    background-color: $pageColor;
    align-items: center;

    img {
        height: 0.4rem;
        margin-right: 0.2rem;
    }

    .logo {
        display: flex;
        flex: 7;
        margin-left: 0.5rem;
    }

    .my {
        display: flex;
        flex: 1.5;
    }

    .xiazai {
        display: flex;
        flex: 1.5;
    }
}

main {
    width: 100vw;
    height: 16rem;
    .banner {
        width: 100vw;
        height: 2rem;
        background-image: url("../image/index/banner.png");
        background-size: cover;
        position: relative;

        input {
            width: 90vw;
            height: 0.35rem;
            border: 1px solid;
            box-sizing: border-box;
            padding-left: 0.3rem;
            background-image: url(../image/index/seach.jpg);
            background-repeat: no-repeat;
            background-size: 0.2rem;
            background-position: 0.1rem;
            border-radius: 0.05rem;
            position: absolute;
            bottom: 0.05rem;
            left: 5vw;
        }
    }

    nav {
        width: 100vw;
        height: 1.5rem;
        background-color: $pageColor ;

        ul {
            list-style: none;
            display: flex;
            justify-content: space-evenly;

            li {
                line-height: 2.1rem;
                font-size: 0.14rem;
                flex: 1;
                color: white;
            }

            li:nth-child(1),
            li:nth-child(2),
            li:nth-child(3),
            li:nth-child(4) {
                background-repeat: no-repeat;
                background-size: 0.6rem;
                background-position: 0.2rem 0.3rem;
            }

            li:nth-child(1) {
                padding-left: 0.3rem;
                background-image: url(../image/index/index_03.png);
            }

            li:nth-child(2) {
                padding-left: 0.35rem;
                background-image: url(../image/index/index_05.png);
            }

            li:nth-child(3) {
                padding-left: 0.35rem;
                background-image: url(../image/index/index_07.png);
            }

            li:nth-child(4) {
                padding-left: 0.35rem;
                background-image: url(../image/index/index_09.png);
            }
        }
    }

    .new {
        width: 100vw;
        height: 2.5rem;

        img {
            width: 100%;
            height: 100%;
        }
    }

    .hot {
        width: 100vw;

        .hot-title {
            width: 100vw;
            height: 0.8rem;
            background-color: $pageColor;
            position: relative;

            h1 {
                color: white;
                font-size: 0.18rem;
                position: absolute;
                left: 0.2rem;
                top: .15rem;
            }
        }
        .hot-content {
            width: 100%;
            height: 5.8rem;
            margin-bottom: .1rem;
            border-bottom: 1px solid rgb(164, 159, 159);
            ul {
                display: flex;
                list-style: none;
                flex-direction: column;
                background-color: #fff;
                li:nth-child(3) {
                    border: 0;
                }

                li {
                    display: flex;
                    width: 90vw;
                    height: 1.5rem;
                    margin: .2rem auto;
                    border-bottom: 2px solid $pageColor;
                    .img{
                        flex: 3;
                        img{
                            width: 1.2rem;
                            height: 1.2rem;
                        }
                    }
                    .word{
                        flex: 6;
                        margin-left: .2rem;
                        font-size: 0.16rem;
                        h5{
                            font-size: 0.18rem;
                        }
                        .deco1,
                        .deco2{
                            width: 100%;
                            font-size: .12rem;
                            display: flex;
                            line-height: 0.3rem;
                            justify-content: space-between;
                            .deco1-left{
                                flex: 1;
                                text-align: left;
                            }
                            .deco1-right{
                                flex: 1;
                                text-align: right;
                                color: $pageColor;
                            }
                        }
                        .deco2{
                            span{
                                color: rgb(111, 109, 109);
                            }
                        }
                        .deco3{
                            span{
                                font-size: .12rem;
                                color: aqua;
                                background-color: rgb(43, 154, 154);
                                margin-right: .1rem;                            }
                        }
                    }
                }
            }
        }
    }
    .link{
        // margin-top: 0.2rem;
        border-top: 1px solid rgb(132, 123, 123);
        font-size: .2rem;
        .title{
            width: 100vw;
            height: 1rem;
            line-height: 1rem;
            display: flex;
            margin-bottom: .2rem;
            h3{
                flex: 1;
                text-align: center;
                color: rgb(93, 90, 90);
                border-bottom: 2px solid $pageColor;
            }
            h3:nth-child(1){
                color: $pageColor;
                border-bottom: 4px solid $pageColor;
            }
        }
        .link-content{
            display: flex;
            ul{
                list-style: none;
                text-align: left;
                flex: 1;
                li{
                    padding-left: .2rem;
                    line-height: .4rem;
                    font-size: .16rem;
                    color: rgb(57, 55, 55);
                }
            }
        }
    }
}
footer{
    width: 100vw;
    height: 2rem;
    background-color: #2F3130;
    font-size: .16rem;
    color: gray;
    .footer-title{
        width: 100vw;
        height: .5rem;
        line-height: .5rem;
        border-bottom: 1px solid gray;
        padding-left: .2rem;
        box-sizing: border-box;
    }
    .footer-content{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        div{
            width: 50vw;
            height: .6rem;
            text-align: center;
            position: relative;
            top: .3rem;
            img{
                width: .2rem;
                position: absolute;
                left: .3rem;
                top: .1rem;
            }
        }
        .footer-content-bottom{
            width: 100vw;
            // height: .9rem;
            flex: 1;
        }
    }
}
aside{
    width: 100vw;
    height: .6rem;
    font-size: .16rem;
    background-color: rgba(23,24,24,.5);
    position: fixed;
    bottom: 0;
    display: flex;
    color:white;
    text-align: center;
    .aside-left{
        flex: 1;
        position: relative;
        img{
            width: .35rem;  
            position: absolute;
            top: .1rem;
        }
    }
    .aside-center{
        flex: 3;
        margin-top: .1rem;
    }
    .aside-right{
        flex: 2;
        background-color: $pageColor;
        color: #fff;
        line-height: .6rem;
    }
    .close{
        width: .15rem;
        height: .15rem;
    }
}